//
//  ICNotification.m
//  ICome
//
//  Created by zhangrongwu on 16/4/7.
//  Copyright © 2016年 iCom. All rights reserved.
//

#import "ICNotification.h"

@implementation ICNotification
+(void)postNotificationName:(NSString *)notification object:(id)object userInfo:(NSDictionary*)userInfo {
    /** 涉及到聊天界面刷新 必须使用主线程发送通知 */
    dispatch_async(dispatch_get_main_queue(), ^{
        [[NSNotificationCenter defaultCenter] postNotificationName:notification object:object userInfo:userInfo];
    });
}
@end
